@success: #00bfa5;
@running: #4d90fe;
@pending: #ffb100;
@failed: #f77a70;
// @canceled: #696060;
// @skipped: #696060;
// @created: #696060;
@stop: #ff7043;
@not_audit: #f1b42d;

.c7n-piplineManages {
  height: 100%;
}
.c7n-piplineManages-header-title {
  display: flex;
  margin-left: 10px;
  height: 30px;
  &-info {
    width: 250px;
  }
  div {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #0f1358;
  }
}
.c7n-piplineManages-content {
  height: ~'calc(100% - 30px)';
}
.c7n-piplineManages-content {
  display: flex;
  .c7ncd-piplineManages-detail-info {
    &-detail {
      margin: 0 10px;
      width: 224px;
      position: relative;
      background: #f5f6fa;
      box-shadow: 0px 2px 4px 0px rgba(15, 19, 88, 0.12);
      border-radius: 4px;
      border: 1px solid rgba(83, 101, 234, 0.24);
      &-success {
        border-top: 4px solid @success;
      }
      &-running {
        border-top: 4px solid @running;
      }
      &-pending {
        border-top: 4px solid @pending;
      }
      &-failed {
        border-top: 4px solid @failed;
      }
      &-stop {
        border-top: 4px solid @stop;
      }
      &-skipped {
        border-top: 4px solid rgba(216, 216, 216, 0.5);
      }
      &-created {
        border-top: 4px solid rgba(216, 216, 216, 0.5);
      }
      &-canceled {
        border-top: 4px solid rgba(216, 216, 216, 0.5);
      }
      &-not_audit {
        border-top: 4px solid @not_audit;
      }
      &-title {
        margin: 10px;
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #0f1358;
        display: flex;
        justify-content: space-between;
      }
      &-line {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #a6a6c0;
        top: 58px;
        left: 222px;
      }
      &-content {
        margin: 10px;
        background: #ffffff;
        padding-left: 5px;
        padding-top: 7px;
        padding-bottom: 22px;
        border-radius: 4px;
        border: 1px solid rgba(83, 101, 234, 0.24);
        font-size: 12px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        div {
          margin-top: 20px;
          .span-label {
            color: rgba(15, 19, 88, 0.65);
          }
        }
      }
    }
  }
  .c7n-piplineManages-detail {
    display: flex;
    height: 100%;
    height: 100%;
    &-title {
      font-size: 0.2rem;
      margin-bottom: 0.16rem;
      font-weight: 500;

      &-appService {
        color: var(--text-color4);
      }
    }
    &-content {
      display: flex;
      width: 100%;
      height: 100%;
      background: rgba(245, 246, 250, 0.3);
      border-radius: 4px;
      border-radius: 4px;
      border: 2px dotted rgba(222, 225, 233, 0.9);
      border-bottom: none;
      min-height: ~'calc(100vh - 2.4rem)';
      overflow-x: scroll;
    }
  }
}
.c7n-piplineManages-detail-column {
  flex: 0 1 auto;
  position: relative;
  width: 2.1rem;
  height: 100%;
  min-height: ~'calc(100vh - 2.4rem)';
  background: #ffffff;
  border-radius: 4px;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  padding: 12px;
  flex-shrink: 0;
  &-item-title {
    span {
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }

  & + & {
    margin-left: 0.16rem;
  }
  &:first-of-type {
    .c7n-piplineManages-detail-column-type {
      display: none;
    }
  }

  &-success {
    border-top: 4px solid @success;
  }
  &-running {
    border-top: 4px solid @running;
  }
  &-pending {
    border-top: 4px solid @pending;
  }
  &-failed {
    border-top: 4px solid @failed;
  }
  &-stop {
    border-top: 4px solid @stop;
  }
  &-not_audit {
    border-top: 4px solid @not_audit;
  }
  &-skipped {
    border-top: 4px solid rgba(216, 216, 216, 0.5);
  }
  &-created {
    border-top: 4px solid rgba(216, 216, 216, 0.5);
  }
  &-canceled {
    border-top: 4px solid rgba(216, 216, 216, 0.5);
  }

  &-type {
    position: absolute;
    top: 0.5rem;
    left: -0.27rem;
    &:first-of-type {
      display: none;
    }
  }

  &-header {
    display: flex;
    align-items: center;
    span:first-of-type {
      font-size: 0.15rem;
      font-weight: 500;
      color: var(--text-color);
      line-height: 0.21rem;
      white-space: nowrap;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    span:nth-of-type(3) {
      font-size: 0.12rem;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.54);
      line-height: 0.17rem;
      margin-left: auto;
    }
  }
  &-lists {
    margin-top: 0.16rem;
    h6 {
      font-size: 0.13rem;
      font-weight: 400;
      color: rgba(58, 52, 95, 1);
      line-height: 0.12rem;
      margin-bottom: 12px;
    }
    &-item {
      padding-top: 7px;
      padding-left: 7px;
      padding-bottom: 7px;
      margin-top: 12px;
      background: #ffffff;
      font-family: PingFangSC-Regular, PingFang SC;
      font-weight: 400;
      box-shadow: 0px 2px 4px 0px rgba(15, 19, 88, 0.12);
      border-radius: 4px;
      border: 1px solid #1fc2bb;
      &-sub {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      &-date {
        padding-left: 24px;
        font-size: 10px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(58, 52, 95, 0.65);
      }
      &-time {
        display: inline-block;
        margin-top: 8px;
        &-name {
          font-size: 12px;
          margin-left: 30px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(58, 52, 95, 0.65);
        }
        &-duration {
          font-size: 12px;
          font-family: PingFangSC-Regular, PingFang SC;
        }
      }
      &-details {
        margin-top: 10px;
        div {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          .span-details {
            font-size: 12px;
            font-family: PingFangSC-Regular, PingFang SC;
            font-weight: 400;
            color: rgba(58, 52, 95, 0.65);
          }
        }
      }
      &-detail {
        margin-top: 10px;
        .span-details {
          font-size: 12px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(58, 52, 95, 0.65);
        }
      }
    }
  }
}
